package com.bj58.mis.apm.server.kylin.model;

import java.util.Date;
import java.util.List;

public class Job {
    private String uuid;
    private Long last_modified;
    private String version;
    private String name;
    private String type;
    private Integer duration;
    private String related_cube;
    private String related_segment;
    private Long exec_start_time;
    private Long exec_end_time;
    private Integer exec_interrupt_time;
    private Integer mr_waiting;
    private String submitter;
    private String job_status;
    private Integer progress;
    private List<Step> steps;

    private Date d_last_modified;
    private Date d_exec_start_time;
    private Date d_exec_end_time;

    public Job deal(){
        this.d_last_modified = new Date(this.last_modified);
        this.d_exec_start_time = new Date(this.exec_start_time);
        this.d_exec_end_time = new Date(this.exec_end_time);
        return this;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Long getLast_modified() {
        return last_modified;
    }

    public void setLast_modified(Long last_modified) {
        this.last_modified = last_modified;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getRelated_cube() {
        return related_cube;
    }

    public void setRelated_cube(String related_cube) {
        this.related_cube = related_cube;
    }

    public String getRelated_segment() {
        return related_segment;
    }

    public void setRelated_segment(String related_segment) {
        this.related_segment = related_segment;
    }

    public Long getExec_start_time() {
        return exec_start_time;
    }

    public void setExec_start_time(Long exec_start_time) {
        this.exec_start_time = exec_start_time;
    }

    public Long getExec_end_time() {
        return exec_end_time;
    }

    public void setExec_end_time(Long exec_end_time) {
        this.exec_end_time = exec_end_time;
    }

    public Integer getExec_interrupt_time() {
        return exec_interrupt_time;
    }

    public void setExec_interrupt_time(Integer exec_interrupt_time) {
        this.exec_interrupt_time = exec_interrupt_time;
    }

    public Integer getMr_waiting() {
        return mr_waiting;
    }

    public void setMr_waiting(Integer mr_waiting) {
        this.mr_waiting = mr_waiting;
    }

    public String getSubmitter() {
        return submitter;
    }

    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }

    public String getJob_status() {
        return job_status;
    }

    public void setJob_status(String job_status) {
        this.job_status = job_status;
    }

    public Integer getProgress() {
        return progress;
    }

    public void setProgress(Integer progress) {
        this.progress = progress;
    }

    public List<Step> getSteps() {
        return steps;
    }

    public void setSteps(List<Step> steps) {
        this.steps = steps;
    }

    public Date getD_last_modified() {
        return d_last_modified;
    }

    public void setD_last_modified(Date d_last_modified) {
        this.d_last_modified = d_last_modified;
    }

    public Date getD_exec_start_time() {
        return d_exec_start_time;
    }

    public void setD_exec_start_time(Date d_exec_start_time) {
        this.d_exec_start_time = d_exec_start_time;
    }

    public Date getD_exec_end_time() {
        return d_exec_end_time;
    }

    public void setD_exec_end_time(Date d_exec_end_time) {
        this.d_exec_end_time = d_exec_end_time;
    }
}
